package com.rent.house;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 房源模块启动类
 * 
 * @author Rent Team - House Module
 */
@SpringBootApplication(scanBasePackages = {"com.rent.house", "com.rent.common"})
@MapperScan("com.rent.house.dao")
public class HouserApplication {

    public static void main(String[] args) {
        SpringApplication.run(HouserApplication.class, args);
        System.out.println("====================================");
        System.out.println("房源模块启动成功！");
        System.out.println("访问地址：http://localhost:8885/");
        System.out.println("Swagger文档：http://localhost:8885/swagger-ui.html");
        System.out.println("====================================");
    }
}
